package com.kaifamiao.singleton;

public class EarthTest {

	public static void main(String[] args) {
		
		System.out.println( Earth.name );
		
		System.out.println( "- - - - - - - -" );
		
		Earth e = Earth.getInstance();
		e.welcome();
		
		Earth a = Earth.getInstance();
		
		System.out.println( e == a );
		
	}

}
